package com.ruoyi.nongjt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;
@Data

public class NjtUserRegister {
    @Excel(name = "id")
    private Integer id;
    @Excel(name = "用户名")
    private  String companyName;
    @Excel(name = "手机号")
    private String mobilePhone;

    private String password;
    //timezone =GMT+8 表示使用北京时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @Excel(name = "注册时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;
    @Excel(name = "会员标识",dictType = "njt_member_flag")
    private String memberFlag;
    @Excel(name = "完善标识",dictType = "njt_perfect_flag")
    private String perfectFlag;
    @Excel(name = "用户状态", readConverterExp = "正常=0,冻结=1,未知=2", dictType = "njt_user_status")
    private String userStatus;
    private  String delFlag;
    private  Date createTime;
    private  Date updateTime;
    private  String createBy;
    private  String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @Excel(name = "完善时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private  Date completionTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @Excel(name = "试用时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private  Date trialTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @Excel(name = "购买时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private  Date purchaseTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @Excel(name = "到期时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private  Date expirationDate;

}
